package JDBCtest.database

import com.imooc.JDBCtest

object ScalaSingleTest {
  def main(args: Array[String]): Unit = {
    for (i <- 1 to 10) {
      new ThreadTask().run()
    }
  }

  class ThreadTask extends Runnable{
    override def run(): Unit = {
      println(ScalaSingle())
    }
  }

}
